home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 1
/
Amiga Tools.iso
/
grafikkarten-tools
/
retina_fli
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-06
|
424b
|
26 lines
/* test.c
This is to test the decoding capabilities of the FLI/FLC reader */
#include <stdlib.h>
#include <stdio.h>
#include "xflick.h"
verbose = 1;
int main(int argc, char *argv[])
{
struct fli_header crap;
int fd;
if (argc > 1) {
fd = open(argv[1], 0);
if (fd < 0) {
fprintf(stderr, "Can't open the file %s!\n", argv[1]);
exit(-1);
}
read_flihead(fd, &crap);
close(fd);
}
}